﻿using System.Collections.Generic;

namespace ASP.NetAjaxApplication.Models
{
    public class LineItemModel
    {
        public int Id { get; set; }

        public bool Select { get; set; }

        public string Code { get; set; }

        public int Quantity { get; set; }

        public string Description { get; set; }

        public int Width { get; set; }

        public int Height { get; set; }

        public int Depth { get; set; }

        public string Hinge { get; set; }

        public string FE { get; set; }


        public IEnumerable<AdditionalQuestionModel> AdditionalQuestions { get; set; }

        public IEnumerable<AddonModel> Addons { get; set; }

    }

    public class AdditionalQuestionModel
    {
        public int Id { get; set; }
        public string Description { get; set; }
    }

    public class AddonModel
    {
        public int Id { get; set; }
        public int Quantity { get; set; }
        public string Code { get; set; }
        public string Description { get; set; }
        public int Price{ get; set; }
    }
}